﻿using Newtonsoft.Json;
using SmartAnswerPlatform.Models.ViewModels.Base;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SmartAnswerPlatform.Models.Entitys.System
{
    /// <summary>
    /// 角色表 sys_role
    /// </summary>
    [SugarTable("sys_role","角色")]
    public class SysRole : BaseEntity
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        [SugarColumn(ColumnDescription = "角色名称", Length = 50)]
        public string? RoleName { get; set; }

        /// <summary>
        /// 角色编码
        /// </summary>
        [SugarColumn(ColumnDescription = "角色编码", Length = 50)]
        public string? RoleCode { get; set; }

        /// <summary>
        /// 显示顺序
        /// </summary>
        [SugarColumn(ColumnDescription = "显示顺序")]
        public int? OrderNum { get; set; }

    }
}
